# coding=utf-8

from django.contrib import admin

from .models import ActionLog


@admin.register(ActionLog)
class ActionLogAdmin(admin.ModelAdmin):
    list_display = ("id", "ecs", "atype", "status", "create_time", "update_time")

    search_fields = ("ecs__name", )

    list_filter = ("atype", "status")


